var SpringAngularJS = {};

/*module ngRoute using $routeProvider redirect to page
ngTable : using for dynamic table: ng-table
ui.bootstrap using for tabset => dynamic tab
angularFileUpload using upload file
ui.ace => for editor

*/


var App = angular.module('SpringAngularJS', ['ngRoute', 'ui.bootstrap']);


//Declare app level module which depends on filters, and services
App.config(['$routeProvider', function ($routeProvider){
	
	$routeProvider.when('/transaction', {
		templateUrl : 'transaction/start',
		controller : TransactionController,
	});
	
	$routeProvider.when('/account', {
		templateUrl : 'account/start',
		controller : AccountController,
	});
	
	$routeProvider.when('/customer', {
		templateUrl : 'customer/start',
		controller : CustomerController
	});
	
}]);